/*
 * @FileName: [Constants.java]
 * 
 * @Package com.bcinfo.upp.admin.common
 * 
 * 
 * Copyright (c) 2011-2015 BCINFO Technology Limited Com. All rights reserved.
 * 
 * This software is the confidential and proprietary information of BCINFO
 * Technology Limited Company ("Confidential Information"). You shall not
 * disclose such Confidential Information and shall use it only in accordance
 * with the terms of the contract agreement you entered into with RKY.
 * 
 * $Rev: 44 $ $LastChangedDate: 2013-10-12 10:19:57 +0800 (星期六, 12 十月 2013) $
 * $LastChangedBy: wanggc $
 * 
 * @category bcinfo-upp
 * 
 * @version 1.1
 * 
 * @author $Author: wanggc $
 * 
 * Change History:[Formatter: author date description] <br/> 1 2 3
 */

package com.bcinfo.iccard.admin.common;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
 * 常量类 <br/>
 * <p>
 * Description:<br/>
 * <p>
 * 提供常用常量
 * 
 * <p>
 * For Examples <br/>
 * 
 * <PRE>
 * Constants.CURRENT_USER
 * </PRE>
 * <p>
 */
public final class Constants
{

    /**
     * 私有构造函数 <br/>
     * <p>
     * Description: 私有构造函数，防止实例化 <br/>
     * <p>
     * Author: yun <br/>
     * <p>
     * Date: 2013-4-24-下午5:15:13 <br/>
     * <p>
     */
    private Constants()
    {

    }

    /**
     * @Fields CURRENT_USER : session中当前登录用户存储的用户信息
     */
    public static final String               CURRENT_USER            = "upp_login_user";

    /**
     * @Fields CURRENT_USER : session中当前登录用户存储的较色权限信息
     */
    public static final String               CURRENT_ROLE_PERMISSION = "upp_role_permission";

    /**
     * @Fields CURRENT_USER_MENU : session中存储当前登录用户的菜单
     */
    public static final String               CURRENT_USER_MENU       = "upp_login_user_menu";

    /**
     * @Fields ERROR_MESSAGE : 错误消息文件 名
     */
    public static final String               ERROR_MESSAGE           = "errorMessage.properties";

    /**
     * @Fields DEFAULT_PASSWORD : 新增用户默认密码
     */
    public static final String               DEFAULT_PASSWORD        = "UppAdmin";

    /**
     * @Fields DEFAULT_PASSWORD : 新增充值卡默认密码
     */
    public static final String               DEFAULT_CARD_PASSWORD   = "123456";

    /**
     * @Fields DATE_PATTERN_FULL : 日期模式-长格式
     */
    public static final String               DATE_PATTERN_FULL       = "yyyy-MM-dd HH:mm:ss";

    /**
     * @Fields DATE_PATTERN_FULL : 日期模式-不到秒格式
     */
    public static final String               DATE_PATTERN_HHMM       = "yyyy-MM-dd HH:mm";

    /**
     * @Fields DATE_PATTERN_SHORT : 日期格式-短格式
     */
    public static final String               DATE_PATTERN_SHORT      = "yyyy-MM-dd";

    /**
     * @Fields DATE_PATTERN_FOLDER : 日期格式-文件夹格式
     */
    public static final String               DATE_PATTERN_FOLDER     = "yyyyMMdd";

    /**
     * @Fields UPP_EXCEPTION_ARRAY : 所有异常类存放数组
     */
    public static final List<Class<?>>       UPP_EXCEPTION_ARRAY     = new ArrayList<Class<?>>();

    /**
     * @Fields RESOURCE_ACTION_MAP : 受控资源actionMap
     */
    public static final Map<String, Integer> RESOURCE_ACTION_MAP     = new HashMap<String, Integer>();
    /**
     * @Fields RESOURCE_ACTION_MAP : 受控资源actionMap
     */
    public static final Map<String, Long>    RESOURCE_RESOURCE_MAP   = new HashMap<String, Long>();

    public static String                     CONTEXT_REAL_PATH       = "";
}
